package com.company.project.vo.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * ClassRespNodeVO
 *
 * @author iukcy
 * @version V1.0
 * @date 2022年3月3日
 */
@Data
public class ClassRespNodeVO {
    @ApiModelProperty(value = "分类id")
    private String id;

    @ApiModelProperty(value = "分类名称")
    private String title;

    @ApiModelProperty(value = "分类名称")
    private String label;

    @ApiModelProperty(value = "分类名称-别名")
    private String realTitle;
    @ApiModelProperty(value = "分类父级id")
    private String pId;

    @ApiModelProperty(value = "是否展开 默认不展开(false)")
    private boolean spread = true;

    @ApiModelProperty(value = "是否选中")
    private boolean checked = false;

    private boolean disabled = false;

    @ApiModelProperty(value = "子集")
    private List<?> children;

    public String getLabel() {
        return title;
    }

}
